package com.hckjsec.common.config;

import com.alibaba.fastjson.annotation.JSONField;

public class DetectAuthLivingView {
    //应用id
    @JSONField(name = "RuleId")
    private String ruleId;

    //身份证号码
    @JSONField(name = "IdCard")
    private String idCard;

    //姓名
    @JSONField(name = "Name")
    private String name;

    //如果是h5的情况下 请求结果的回调地址
    @JSONField(name = "RedirectUrl")
    private String redirectUrl;

    //人脸核身请求数据关键key
    @JSONField(name = "BizToken")
    private String bizToken;

    // 是否获取视频最佳帧截图
    @JSONField(name = "BestFramesCount")
    private int bestFramesCount = 10 ;

    //透传字段，在获取验证结果时返回。
    @JSONField(name = "Extra")
    private String extra;

    //用于人脸比对的照片，图片的BASE64值；
    @JSONField(name = "ImageBase64")
    private String imageBase64;

    // 请求成功h5 用的url地址
    @JSONField(name = "Url")
    private String url;

    //是否对身份证照片进行裁边
    @JSONField(name = "IsCutIdCardImage")
    private Boolean IsCutIdCardImage;

    //是否需要从身份证中抠出头像
    @JSONField(name = "IsNeedIdCardAvatar")
    private Boolean IsNeedIdCardAvatar;

    public DetectAuthLivingView() {
    }

    public DetectAuthLivingView(String ruleId, String bizToken) {
        this.ruleId = ruleId;
        this.bizToken = bizToken;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public String getBizToken() {
        return bizToken;
    }

    public void setBizToken(String bizToken) {
        this.bizToken = bizToken;
    }

    public int getBestFramesCount() {
        return bestFramesCount;
    }

    public void setBestFramesCount(int bestFramesCount) {
        this.bestFramesCount = bestFramesCount;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public String getImageBase64() {
        return imageBase64;
    }

    public void setImageBase64(String imageBase64) {
        this.imageBase64 = imageBase64;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getIsCutIdCardImage() {
        return IsCutIdCardImage;
    }

    public void setIsCutIdCardImage(Boolean isCutIdCardImage) {
        IsCutIdCardImage = isCutIdCardImage;
    }

    public Boolean getIsNeedIdCardAvatar() {
        return IsNeedIdCardAvatar;
    }

    public void setIsNeedIdCardAvatar(Boolean isNeedIdCardAvatar) {
        IsNeedIdCardAvatar = isNeedIdCardAvatar;
    }
}
